package g3;

import java.util.Scanner;

public class Status {

    public static void main(String[] args) {
        String str = readDataFromConsole("Please input string:");
        System.out.println("The information from console:" + str);
    }
    
    private static String readDataFromConsole(String prompt) {
        Scanner scanner = new Scanner(System.in);
        System.out.print(prompt);
        return scanner.nextLine();
    }
}
